<script setup>
import { useRoute } from 'vue-router';

    let route = useRoute()
    console.log(route)
    console.log(route.query)
    console.log(route.query.id)
    console.log(route.query.name)
    console.log(route.query.price)
    
</script>


<template>
    <div>
       <h2> 这是B页面</h2>
    </div>
</template>